package org.example.main.entity;

import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

@Schema(name = "Favorite",description = "收藏实体")
public class Favorite {

  @Schema(name = "favoriteId",description = "收藏id")
  private long favoriteId;

  @Schema(name = "tenantId",description = "租客id")
  private long tenantId;

  @Schema(name = "houseId",description = "房源id")
  private long houseId;

  @Schema(name = "favoriteTime",description = "收藏时间")
  private Date favoriteTime;

  public long getFavoriteId() {
    return favoriteId;
  }

  public void setFavoriteId(long favoriteId) {
    this.favoriteId = favoriteId;
  }

  public long getTenantId() {
    return tenantId;
  }

  public void setTenantId(long tenantId) {
    this.tenantId = tenantId;
  }

  public long getHouseId() {
    return houseId;
  }

  public void setHouseId(long houseId) {
    this.houseId = houseId;
  }

  public Date getFavoriteTime() {
    return favoriteTime;
  }

  public void setFavoriteTime(Date favoriteTime) {
    this.favoriteTime = favoriteTime;
  }
}
